.class public Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field protected a:Z

.field protected b:I

.field protected c:Ljava/lang/String;

.field private d:Landroid/content/Context;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Landroid/widget/EditText;

.field private s:Z

.field private t:Landroid/widget/LinearLayout;

.field private u:Landroid/widget/TextView;

.field private v:Landroid/widget/TextView;

.field private w:Lcom/waiqin365/lightapp/kehu/b/ab;

.field private x:Z

.field private y:Lcom/waiqin365/lightapp/kehu/view/an;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->s:Z

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->x:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->g()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)Lcom/waiqin365/lightapp/kehu/b/ab;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->w:Lcom/waiqin365/lightapp/kehu/b/ab;

    return-object v0
.end method

.method private static a(C)Z
    .locals 1

    if-eqz p0, :cond_2

    const/16 v0, 0x9

    if-eq p0, v0, :cond_2

    const/16 v0, 0xa

    if-eq p0, v0, :cond_2

    const/16 v0, 0xd

    if-eq p0, v0, :cond_2

    const/16 v0, 0x20

    if-lt p0, v0, :cond_0

    const v0, 0xd7ff

    if-le p0, v0, :cond_2

    :cond_0
    const v0, 0xe000

    if-lt p0, v0, :cond_1

    const v0, 0xfffd

    if-le p0, v0, :cond_2

    :cond_1
    const/high16 v0, 0x10000

    if-lt p0, v0, :cond_3

    const v0, 0x10ffff

    if-gt p0, v0, :cond_3

    :cond_2
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_3
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static a(Ljava/lang/String;)Z
    .locals 4

    const/4 v0, 0x0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v2

    move v1, v0

    :goto_0
    if-ge v1, v2, :cond_0

    invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C

    move-result v3

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->a(C)Z

    move-result v3

    if-nez v3, :cond_1

    const/4 v0, 0x1

    :cond_0
    return v0

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->v:Landroid/widget/TextView;

    return-object v0
.end method

.method private g()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    const-string/jumbo v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f03008e

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c0083

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->f:Landroid/view/View;

    const v0, 0x7f0c0086

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->g:Landroid/view/View;

    const v0, 0x7f0c005a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->h:Landroid/view/View;

    const v0, 0x7f0c02cd

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->e:Landroid/widget/TextView;

    const v0, 0x7f0c02ce

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    const v0, 0x7f0c0275

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->t:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0277

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->u:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->t:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/aj;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/view/aj;-><init>(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0347

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->v:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->v:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/ak;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/view/ak;-><init>(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/al;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/view/al;-><init>(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 4

    const/4 v3, 0x0

    const-string/jumbo v0, "checkInfo"

    invoke-virtual {p2, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v1, "rename"

    invoke-virtual {p2, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v0, :cond_4

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->u:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->w:Lcom/waiqin365/lightapp/kehu/b/ab;

    if-eqz v2, :cond_0

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/ab;->d:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->w:Lcom/waiqin365/lightapp/kehu/b/ab;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->d:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    :cond_0
    const/4 v2, 0x1

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->x:Z

    :cond_1
    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->setValue(Ljava/lang/String;)V

    :cond_2
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->setCreditInfo(Lcom/waiqin365/lightapp/kehu/b/ab;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->y:Lcom/waiqin365/lightapp/kehu/view/an;

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->y:Lcom/waiqin365/lightapp/kehu/view/an;

    invoke-interface {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/an;->a(Lcom/waiqin365/lightapp/kehu/b/ab;)V

    :cond_3
    :goto_0
    return-void

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->t:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0
.end method

.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->p:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->l:Ljava/lang/String;

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0
.end method

.method public c_()Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->x:Z

    return v0
.end method

.method public d()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    instance-of v0, v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v0, "checkKey"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    const-string/jumbo v0, "returnTo"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->n:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0, v1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    :cond_0
    return-void
.end method

.method public f()Lcom/waiqin365/lightapp/kehu/b/ab;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->w:Lcom/waiqin365/lightapp/kehu/b/ab;

    return-object v0
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->onDetachedFromWindow()V

    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->h:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setCode(Ljava/lang/String;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    return-void
.end method

.method public setCreditInfo(Lcom/waiqin365/lightapp/kehu/b/ab;)V
    .locals 2

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->w:Lcom/waiqin365/lightapp/kehu/b/ab;

    if-eqz p1, :cond_0

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->t:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->u:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->t:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0
.end method

.method public setEdit(Z)V
    .locals 2

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->s:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setFocusable(Z)V

    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSingleLine(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->f:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->g:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSingleLine(Z)V

    goto :goto_0
.end method

.method public setHint(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 7

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->l:Ljava/lang/String;

    :cond_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->p:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->e:Landroid/widget/TextView;

    const/4 v2, 0x2

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    const v5, 0x7f020400

    new-instance v6, Lcom/waiqin365/lightapp/kehu/view/am;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/kehu/view/am;-><init>(Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;)V

    invoke-static/range {v0 .. v6}, Lcom/fiberhome/gaea/client/d/g;->a(Landroid/content/Context;Landroid/widget/TextView;ILjava/lang/String;Ljava/lang/String;ILcom/fiberhome/gaea/client/d/j;)V

    :cond_1
    return-void
.end method

.method public setMaxlen(Ljava/lang/String;)V
    .locals 5

    const/4 v4, 0x0

    invoke-static {p1, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    if-lez v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    const/4 v2, 0x1

    new-array v2, v2, [Landroid/text/InputFilter;

    new-instance v3, Landroid/text/InputFilter$LengthFilter;

    invoke-direct {v3, v0}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    aput-object v3, v2, v4

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    :cond_0
    return-void
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->s:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->f:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setOnUpdateCreditListener(Lcom/waiqin365/lightapp/kehu/view/an;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->y:Lcom/waiqin365/lightapp/kehu/view/an;

    return-void
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->i:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public setViewIgnore(Z)V
    .locals 1

    if-eqz p1, :cond_0

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->setVisibility(I)V

    goto :goto_0
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    if-eqz p2, :cond_0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->n:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Landroid/content/Intent;

    if-eqz v0, :cond_0

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Landroid/content/Intent;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->d:Landroid/content/Context;

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNameCheckView_vertical;->a(Landroid/content/Context;Landroid/content/Intent;)V

    :cond_0
    return-void
.end method
